package com.ygqh.baby.service;
import java.util.List;
import  com.ygqh.baby.ao.QueryInfo;
import  com.ygqh.baby.ao.ResultSet;
import  com.ygqh.baby.po.AdminMaterial;

public interface AdminMaterialService {

    
    List<AdminMaterial> find();
	int findCount();
	AdminMaterial findById(Long id);
	int deleteSoft(Long[] ids);
	int deleteSoft(Long id);
	int save(AdminMaterial adminMaterial );
	int update(AdminMaterial adminMaterial);
	int saveOrUpdate(AdminMaterial adminMaterial);
	ResultSet<AdminMaterial> search(QueryInfo queryInfo,String q);
	int findName(String name,Long id);
	
	
    
}
